package mest.VO.first.addProductInfo;

/**
 * @Description
 * @auther Machenike
 * @create 2019-11-21 17:51
 */
//这是集供应商，存货和生产作业于一体的VO
//    			select sf.id as sfId,pfId as pfId,pf.providerName,sf.planNumber,sf.commName,sf.size,sf.anotherName,sf.Measurement,sf.ReferSale as unitprice,totalprice
//                        from save_file as sf
//                        join provider_file as pf on pf.id = sf.wfId
//                        where sf.isDelete = 0
public class save_provider_productJobVO {
    // 存货档案的Id
    private Integer sfId;
    //存货默认供应商的Id
    private Integer pfId;
    //物料bomId
    private Integer bomId;
    //供应商名称
    private String providerName;
    //存货名称
    private String commName;
    //存货规格
    private String size;
    //存货别名
    private String anotherName;
    //计量单位
    private String Measurement;
    //含税单价
    private Double unitprice;
    //含税总价
    private Double totalprice;
    //默认税率为3
    private Double taxRate;
    //计划数量
    private Integer planNumber;
    //暂时作保留
    private String description;
    // 生产单的Id
    private Integer poId;

    public Integer getPoId() {
        return poId;
    }

    public void setPoId(Integer poId) {
        this.poId = poId;
    }

    public Integer getBomId() {
        return bomId;
    }

    public void setBomId(Integer bomId) {
        this.bomId = bomId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getPlanNumber() {
        return planNumber;
    }

    public void setPlanNumber(Integer planNumber) {
        this.planNumber = planNumber;
    }

    public Integer getSfId() {
        return sfId;
    }

    public void setSfId(Integer sfId) {
        this.sfId = sfId;
    }

    public Integer getPfId() {
        return pfId;
    }

    public void setPfId(Integer pfId) {
        this.pfId = pfId;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getAnotherName() {
        return anotherName;
    }

    public void setAnotherName(String anotherName) {
        this.anotherName = anotherName;
    }

    public String getMeasurement() {
        return Measurement;
    }

    public void setMeasurement(String measurement) {
        Measurement = measurement;
    }

    public Double getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(Double unitprice) {
        this.unitprice = unitprice;
    }

    public Double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Double totalprice) {
        this.totalprice = totalprice;
    }

    public Double getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(Double taxRate) {
        this.taxRate = 3.00;
    }

    @Override
    public String toString() {
        return "save_provider_productJobVO{" +
                "sfId=" + sfId +
                ", pfId=" + pfId +
                ", providerName='" + providerName + '\'' +
                ", commName='" + commName + '\'' +
                ", size='" + size + '\'' +
                ", anotherName='" + anotherName + '\'' +
                ", Measurement='" + Measurement + '\'' +
                ", unitprice=" + unitprice +
                ", totalprice=" + totalprice +
                ", taxRate=" + taxRate +
                ", planNumber=" + planNumber +
                ", description='" + description + '\'' +
                ", poId=" + poId +
                '}';
    }
}
